package test.views;

import com.example.android.google.apis.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class ExceptionView extends Activity {
    
    public void onCreate(Bundle icicle) {

	super.onCreate(icicle);
	
	// Picking up exception data from intent
	Bundle extras = getIntent().getExtras();
	String exception = extras.getString("exception");
	
	setContentView(R.layout.exceptionview);
	TextView tv = (TextView) findViewById(R.id.textView1);
	tv.setText(exception);
    }
}
